<template>
  <el-card shadow="never">
    <div slot="header" class="card-header">
      <span>审计报告预览</span>
      <div>
        <el-button type="primary" size="mini">审计整改问责</el-button>
        <el-button type="primary" size="mini">审计报告下载</el-button>
        <el-button type="primary" size="mini">审计清单下载</el-button>
      </div>
    </div>
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="columnA" label="报告地区"> </el-table-column>
      <el-table-column prop="columnB" label="流量管理违规"> </el-table-column>
      <el-table-column prop="columnC" label="是否通知"> </el-table-column>
      <el-table-column prop="columnD" label="报告开始日期"> </el-table-column>
      <el-table-column prop="columnE" label="办理员工工号"> </el-table-column>
    </el-table>
    <div class="pagination">
      <Pagination :total="tableData.length"></Pagination>
    </div>
  </el-card>
</template>

<script>
import Pagination from './Pagination'
export default {
  components: {
    Pagination
  },

  props: {
    tableData: {
      type: Array,
      default: () => []
    }
  },

  data() {
    return {}
  }
}
</script>

<style lang="scss" scoped>
.pagination {
  float: right;
  margin: 10px;
}
</style>
